Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @types/highlight.js from 9.12.4 to 10.1.0 #89

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 19, 2021

Bumps @types/highlight.js from 9.12.4 to 10.1.0.

Release notes

Sourced from @​types/highlight.js's releases.

10.1.0

Just your typical minor release. Plenty of fixes and enhancements, few new themes.

Some deprecations language maintainers might want to pay attention to:

  • htmlbars grammar is now deprecated. Use handlebars instead. (#2344) [Nils Knappmeier][]
  • when using highlightBlock result.re deprecated. Use result.relevance instead. (#2552) [Josh Goebel][]
  • ditto for result.second_best.re => result.second_best.relevance (#2552)
  • lexemes is now deprecated in favor of keywords.$pattern key (#2519) [Josh Goebel][]
  • endSameAsBegin is now deprecated. (#2261) [Josh Goebel][]

10.0.2

Fixes a serious potential freeze/infinite loop issue. Everyone on version 10 should upgrade.

  • Remove support for AMD module loading, which never truly worked properly anyways.

10.0.1

Fixes: sublanguage with no rule matches causes text to disappear in final output. (#2506).

10.0.0

Welcome to version 10.0. This a major release and therefore will contain breaking changes.

Breaking Changes

Our normal minor releases try to never break anything, holding all breaking changes for major releases. We tried to squeeze in as many as we could this time so that after 10.0 ships we'll be back to quiet sailing for a while before we need to push version 11. That said, we're very conservative about what we consider a breaking change.

i.e., if there it could possibly break things for anyone, it's typically a breaking change. The fact is a vast majority of users should upgrade and probably not notice any changes at all.

See VERSION_10_BREAKING_CHANGES.md for a comprehensive list of breaking changes, but here is a summary... if you use:

Core highlight.js lib on the client (with no extra CDN languages)

Just keep doing that.

  • If you're using darkula.css, you'll need to change that to darcula.css
  • The minified distributable has changed from .pack.js to .min.js, update your name when you update your URL.
  • If your users have very old browsers, they may no longer be supported (no more IE11, etc.). (We're using ES2015 code now.)
  • nohighlight or no-highlight are the only two CSS classes that will SKIP highlighting completely. *text* and *plain* no longer will do this.

Core highlight.js lib on the client (plus additional CDN languages)

Quite a few grammars have been renamed. Ex: nimrod.js is now nim.js.

  • Check the renamed grammars to see if you might need to update your links.
  • Be aware that you can't use version 9 CDN JS files anymore, they aren't compatible.
  • Plus read the above list of items.

highlight.js on the server (via NPM) and only use the public API

... (truncated)

Changelog

Sourced from @​types/highlight.js's changelog.

Version 10.1.0

New themes:

  • NNFX and NNFX-dark by [Jim Mason][]
  • lioshi by [lioshi][]

Parser Engine:

  • (parser) Now escapes quotes in text content when escaping HTML (#2564) [Josh Goebel][]
  • (parser) Adds keywords.$pattern key to grammar definitions (#2519) [Josh Goebel][]
  • (parser) Adds SHEBANG utility mode [Josh Goebel][]
  • (parser) Adds registerAliases method (#2540) [Taufik Nurrohman][]
  • (enh) Added on:begin callback for modes (#2261) [Josh Goebel][]
  • (enh) Added on:end callback for modes (#2261) [Josh Goebel][]
  • (enh) Added ability to programatically ignore begin and end matches (#2261) [Josh Goebel][]
  • (enh) Added END_SAME_AS_BEGIN mode to replace endSameAsBegin parser attribute (#2261) [Josh Goebel][]
  • (fix) fixMarkup would rarely destroy markup when useBR was enabled (#2532) [Josh Goebel][]

Deprecations:

  • htmlbars grammar is now deprecated. Use handlebars instead. (#2344) [Nils Knappmeier][]
  • when using highlightBlock result.re deprecated. Use result.relevance instead. (#2552) [Josh Goebel][]
  • ditto for result.second_best.re => result.second_best.relevance (#2552)
  • lexemes is now deprecated in favor of keywords.$pattern key (#2519) [Josh Goebel][]
  • endSameAsBegin is now deprecated. (#2261) [Josh Goebel][]

Language Improvements:

  • fix(groovy) strings are not allowed inside ternary clauses (#2217) [Josh Goebel][]
  • fix(typescript) add readonly keyword (#2562) [Martin (Lhoerion)][]
  • fix(javascript) fix regex inside parens after a non-regex (#2530) [Josh Goebel][]
  • enh(typescript) use identifier to match potential keywords, preventing false positivites (#2519) [Josh Goebel][]
  • enh(javascript) use identifier to match potential keywords, preventing false positivites (#2519) [Josh Goebel][]
  • [enh] Add OPTIMIZE: and HACK: to the labels highlighted inside comments [Josh Goebel][]
  • enh(typescript/javascript/coffeescript/livescript) derive ECMAscript keywords from a common foudation (#2518) [Josh Goebel][]
  • enh(typescript) add setInterval, setTimeout, clearInterval, clearTimeout (#2514) [Josh Goebel][]
  • enh(javascript) add setInterval, setTimeout, clearInterval, clearTimeout (#2514) [Vania Kucher][]
  • enh(cpp) add pair, make_pair, priority_queue as built-ins (#2538) [Hankun Lin][]
  • enh(cpp) recognize priority_queue pair as cpp containers (#2541) [Hankun Lin][]
  • fix(javascript) prevent set keyword conflicting with setTimeout, etc. (#2514) [Vania Kucher][]
  • fix(cpp) Fix highlighting of unterminated raw strings (#2261) [David Benjamin][]
  • fix(javascript) => function with nested () in params now works (#2502) [Josh Goebel][]
  • fix(typescript) => function with nested () in params now works (#2502) [Josh Goebel][]
  • fix(yaml) Fix tags to include non-word characters (#2486) [Peter Plantinga][]
  • fix(swift) @objcMembers was being partially highlighted (#2543) [Nick Randall][]
  • enh(dart) Add late and required keywords, the Never built-in type, and nullable built-in types (#2550) [Sam Rawlins][]
  • enh(erlang) Add underscore separators to numeric literals (#2554) [Sergey Prokhorov][]
  • enh(handlebars) Support for sub-expressions, path-expressions, hashes, block-parameters and literals (#2344) [Nils Knappmeier][]
  • enh(protobuf) Support multiline comments (#2597) [Pavel Evstigneev][]

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 19, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/dev/types/highlight.js-10.1.0 branch 2 times, most recently from d99a6e3 to a60572a Compare September 22, 2021 02:20
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/dev/types/highlight.js-10.1.0 branch from a60572a to 854c233 Compare December 8, 2021 20:45
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/dev/types/highlight.js-10.1.0 branch from 854c233 to 465a183 Compare January 6, 2022 00:11
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/dev/types/highlight.js-10.1.0 branch from 465a183 to 6c98741 Compare January 24, 2022 05:02
Bumps [@types/highlight.js](https://github.com/highlightjs/highlight.js) from 9.12.4 to 10.1.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/commits/10.1.0)

---
updated-dependencies:
- dependency-name: "@types/highlight.js"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/dev/types/highlight.js-10.1.0 branch from 6c98741 to d0a9076 Compare September 16, 2022 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants